/*
*所有关于PurchaseWarehousing类的业务代码接口应在此处编写
*/
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
using VOL.Core.Utilities;
using System.Linq.Expressions;
namespace VOL.Domain.IServices
{
    /// <summary>
    /// 采购入库
    /// </summary>
    public partial interface IPurchaseWarehousingService
    {
        /// <summary>
        /// 采购入库新增
        /// </summary>
        /// <param name="purchaseWarehousing"></param>
        /// <returns></returns>
        Task<int> AddPurchaseWarehousing(PurchaseWarehousing purchaseWarehousing);
        /// <summary>
        /// 采购入库显示
        /// </summary>
        /// <returns></returns>
        Task<List<PurchaseWarehousing>> GetAllPurchaseWarehousing(string? inboundListCode, string? inboundListName,DateTime? inboundListTime,string? informCode, int pageIndex = 1, int pageSize = 5);
        /// <summary>
        /// 采购入库修改
        /// </summary>
        /// <param name="purchaseWarehousing"></param>
        /// <returns></returns>
        Task<int> UpdatePurchaseWarehousing(PurchaseWarehousing purchaseWarehousing);
        /// <summary>
        /// 删除采购入库
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<int> DeletePurchaseWarehousing(int id);
    }
}
